﻿// JScript ファイル
function setIframeHeight(h)
{
	var ifrm = document.getElementById("mainIframe");
	if(ifrm)
	{
	    ifrm.style.height = h;
	}
}

function openImage(imagePath)
{
    var wOpen;
	var url = "../../main/comm/PreViewImage.aspx";
	url = url + "?imagePath=" +  imagePath;
	if (document.getElementById("hidLandId") != null) {
	    url = url + "&lang_id=" +  document.getElementById("hidLandId").value;
	}
	wOpen = window.open(url,
		"popup","menubar=no,scrollbars=auto,resizable=no,scrollbars=yes,location=no,directories=no,top=0,left=0,width=500,height=600");
	wOpen.focus();
}
